package com.ruoyi.cbs.violation.service;

import java.util.List;
import com.ruoyi.cbs.violation.domain.ViolationRecord;
import com.ruoyi.cbs.violation.domain.vo.*;

/**
 * 承包商违章记录Service接口
 * 
 * @author ruoyi
 * @date 2025-11-15
 */
public interface IViolationRecordService 
{
    /**
     * 查询承包商违章记录
     * 
     * @param id 承包商违章记录主键
     * @return 承包商违章记录
     */
    public ViolationRecordDetailRespVO selectViolationRecordById(Long id);

    /**
     * 查询承包商违章记录列表
     * 
     * @param violationRecord 承包商违章记录
     * @return 承包商违章记录集合
     */
    public List<ViolationRecordRespVO> selectViolationRecordList(ViolationRecordReqVO violationRecord);

    /**
     * 新增承包商违章记录
     * 
     * @param violationRecord 承包商违章记录
     * @return 结果
     */
    public int insertViolationRecord(AddViolationRecordReqVO violationRecord);

    /**
     * 修改承包商违章记录
     * 
     * @param violationRecord 承包商违章记录
     * @return 结果
     */
    public int updateViolationRecord(UpdateViolationRecordReqVO updateViolationRecordReqVO);

    /**
     * 批量删除承包商违章记录
     * 
     * @param ids 需要删除的承包商违章记录主键集合
     * @return 结果
     */
    public int deleteViolationRecordByIds(Long[] ids);

    /**
     * 删除承包商违章记录信息
     * 
     * @param id 承包商违章记录主键
     * @return 结果
     */
    public int deleteViolationRecordById(Long id);
}
